package com.bfly.core.context.event;

import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationEvent;

/**
 * 系统任务加载事件
 *
 * @author 长沙商脉科技有限公司
 * @date 2020/10/16 13:19
 */
public class SysTaskReloadEvent extends ApplicationEvent {

    private final ApplicationContext context;

    public SysTaskReloadEvent(ApplicationContext ctx) {
        super(ctx);
        this.context = ctx;
    }

    public ApplicationContext getApplicationContext() {
        return this.context;
    }
}
